<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

Route::get('/test', 'Index/test');
//用户登录注册API
Route::group('auth', function () {
    Route::post('/login', 'Account/login');
    Route::post('/auth/register', 'Account/register');
    Route::post('/refresh_token', 'Account/refresh_token');

});
//文件上传API
Route::post('/uploader', 'Uploader/index');

Route::get('/test', 'Index/index');
